package cn.edu.dgut.css.sai.createspringbootprojectdemo;


import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.lang.annotation.Repeatable;
import java.util.Arrays;
import org.springframework.stereotype.Controller;

@SpringBootApplication
public class CreateSpringBootProjectDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(CreateSpringBootProjectDemoApplication.class, args);
    }
    @Bean("Makima")
CommandLineRunner init(){
        return args -> {

            System.out.println("这是CommanderLineRunner!");
        };
}
}



